package com.sky.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author
 * @date 2023/2/20 11:10
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class LoginResult {

    // 用户编号
    private Long id;
    // 状态码
    private int code;
    //     token令牌
    private String token;
    // token 过期时间
    private Long expireTime;

    public LoginResult(Long id, int code) {
        this.id = id;
        this.code = code;
    }
}
